package com.xinjian.jianba.dto.es;

import java.io.Serializable;

import com.xinjian.jianba.annotation.Validator;

public class OneKeyOnlineDto implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -7707217536429739957L;

	@Validator(nullable=false,description="用户id不能为空")
	private Long userId;
	@Validator(nullable=false,description="昵称不能为空")
	private String nickName;
	@Validator(nullable=false,description="是否在线不能为空")
	private Integer isOnline;
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public Integer getIsOnline() {
		return isOnline;
	}
	public void setIsOnline(Integer isOnline) {
		this.isOnline = isOnline;
	}
	
}
